
define("config",function(){
    require.config({
        baseUrl:"../js/",
        urlArgs:"v.1.0",
        paths:{
            "jquery":["lib/jquery-3.3.1"],
            "md5":["lib/jquery.md5"],
            "index":["index"],
            "register":["register"],
            "login":["login"],
            "carts":["carts"],
            "aging":["aging"],
            "cartlist":["cartlist"],
            "jquery.validate":["lib/jquery-validation/jquery.validate"],
            "jquery.cookie":["lib/jquery-cookie/jquery.cookie"],
            "jquery.idcode":["lib/idcode/jquery.idcode"],
            "islogin":["islogin"],

        },
        map: {
            '*': {
                'css': '../js/lib/css'
            }
        },
        shim:{
            "md5": {
                deps : ["jquery"],
            },
            "jquery.idcode":{
                deps : ["jquery"],
            },
            "index":{
                deps:["css!../css/index.css"]
            },
            "register":{
                deps:["css!../css/register.css"]
            },
            "login":{
                deps:["css!../css/login.css"]
            },
            "carts":{
                deps:["css!../css/carts.css"]
            },
            "cartlist":{
                deps:["css!../css/cartlist.css"]
            }

        }
    })
})